-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add VSCode extension documentation #20385
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! The docs/sidebars/references.js
file needs to be updated to include the new pages, as well. Puts the pages on left nav.
Co-authored-by: ronny-mysten <[email protected]>
Co-authored-by: ronny-mysten <[email protected]>
Co-authored-by: ronny-mysten <[email protected]>
Co-authored-by: ronny-mysten <[email protected]>
Co-authored-by: ronny-mysten <[email protected]>
Co-authored-by: ronny-mysten <[email protected]>
Co-authored-by: ronny-mysten <[email protected]>
Co-authored-by: ronny-mysten <[email protected]>
Co-authored-by: ronny-mysten <[email protected]>
Co-authored-by: ronny-mysten <[email protected]>
docs/content/references/ide/move.mdx
Outdated
```bash | ||
cargo install --git https://github.com/MystenLabs/sui.git sui-move-lsp | ||
``` | ||
By default, the Move extension expects to find the `move-analyzer` binary in `~/.sui/bin`. You can either copy the binary here, or configure the extension to use a different path. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to worry about specifying the location for windows users? I'm guessing not since the only way they can install it is with choco I'm guessing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also the path on Windows, just interpolate ~
with %HOMEDIR% or whatever it is. By default this is at C:\Users\%USERNAME%\.sui\bin
, but that could change based on your home drive.
|
||
![Stepping through code execution](./images/debugger_running.png) | ||
|
||
Move Trace Debugger supports standard debugging features like step over, step into, step out, continue, and stop. You can step through normal code, and also Move macros. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a disclaimer here (or maybe we have a more general one elsewhere) that e.g., macros are supported, but are a known pain point that we are working on improving still.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to carry forward after addressing any other comments
Description
Test plan
How did you test the new or updated feature?
Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.